import request from '@/utils/request'

export function createNotify(data) {
  return request({
    url: 'manager/notify/create',
    method: 'post',
    data
  })
}

export function updateNotify(data) {
  return request({
    url: 'manager/notify/update',
    method: 'post',
    data
  })
}

export function deleteNotify(data) {
  return request({
    url: 'manager/notify/delete',
    method: 'post',
    data
  })
}

export function fetchNotifyList(query) {
  return request({
    url: 'manager/notify/list',
    method: 'get',
    params: query
  })
}
